require('../../assets/css/index.less');
require('../../assets/css/basic.less');
// 小图标
require('../../assets/fonts/iconfont.css');
require('../../assets/font/iconfont.css');
// 当前页面样式
require('./motion.less');
// 工具函数 utils
const dom = require('../../utils/dom');
dom.ready(function() {
    console.log(dom.getEle(".stopBtn"));
    dom.addEvent(".stopBtn", "click", function() {
        dom.getEle(".stoB").style.display = 'none';
        dom.getEle(".staB").style.display = 'block';
    });
    //
    dom.addEvent(".start", "click", function() {
        dom.getEle(".stoB").style.display = 'block';
        dom.getEle(".staB").style.display = 'none';
    });
    //
    dom.addEvent(".close", "click", function() {
        location.href = "./sporting.html";
    });
    // 地图
    dom.addEvent(".map", "click", function() {
        location.href = "./mapModule.html";
    });

})